package com.welleys.util;

public class StringUtil {
    public static boolean nullStr(String str){
        return null == str;
    }

    public static boolean emptyStr(String str){
        return nullStr(str) || "".equals(str.trim());
    }

    public static boolean compareIgnoreCase(String a, String b){
        int compResult = a.compareToIgnoreCase(b);

        return 0 == compResult;
    }
}
